#include "processbar.h"

float total = 1024.0;
float speed = 1.0;

int main()
{
    //Processbar1();
    float cur = 0;

    while (cur <= total)
    {
        Processbar2(cur, total);
        fflush(stdout);
        usleep(4000);

        cur += speed;
    }
    printf("\n");

    return 0;
}
